#ifndef FILE_SYSTEM_H
#define FILE_SYSTEM_H

#include <string>

namespace adapters {

	typedef __int64 OffsetType;

	namespace filesystem {

		OffsetType fileSize(std::string const & fileName);

		bool rename(std::string const & from, std::string const & to);

		bool remove(std::string const & fileName);

		bool swap(std::string const & first, std::string const & second, bool const safe = false);

		bool createDir(std::string const & name);

		bool exists(std::string const & name);

		std::string makeHiddenFileName(std::string const & path, char const filePrefix = '.');

		bool hide(std::string const & fileName);

		bool unHide(std::string const & fileName);
	}
}

#endif
